[INFO] cloning repository https://github.com/sethu1012/rust-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sethu1012/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethu1012%2Frust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethu1012%2Frust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d2d86f76e298589f7ddd7a577fab753179f17c5
[INFO] fixing sethu1012/rust-basics against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethu1012%2Frust-basics" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sethu1012/rust-basics
[INFO] finished tweaking git repo https://github.com/sethu1012/rust-basics
[INFO] tweaked toml for git repo https://github.com/sethu1012/rust-basics written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sethu1012/rust-basics on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sethu1012/rust-basics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4
[INFO] running `Command { std: "docker" "start" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking HelloRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/main.rs (2 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s
[INFO] [stderr] crater-edition-check: HelloRust v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking HelloRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::iter::Sum`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Sum;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut data = &mut a; // slices
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let mut vec2 = vec![4, 5, 6];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |     let mut abc = "Hello World".to_string(); // both works
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:445:9
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut z: i32 = 6;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `company`
[INFO] [stdout]    --> src/main.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let company = Company { name: String::from("Tesla"), ceo: &boss };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `john`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let john = Person::new("John Doe"); // John Doe is &'static str
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_john`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `jane`
[INFO] [stdout]    --> src/main.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 |     let jane = Person::new(name/*.as_ref()*/); // this is tedious
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_jane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ra1`
[INFO] [stdout]    --> src/main.rs:607:9
[INFO] [stdout]     |
[INFO] [stdout] 607 |     let ra1 = Creature::new("RA1");
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ra1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |     let mut b = Complex::new(1, 2);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u2`
[INFO] [stdout]    --> src/main.rs:804:9
[INFO] [stdout]     |
[INFO] [stdout] 804 |     let u2 = u;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_u2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PointWithGenerics` is never constructed
[INFO] [stdout]   --> src/main.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct PointWithGenerics<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red`, `Green`, `RGBColor`, and `CMYK` are never constructed
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Color {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 55 |     Red,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Green,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 57 |     Blue,
[INFO] [stdout] 58 |     RGBColor(u8, u8, u8),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 59 |     CMYK {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_info3` is never used
[INFO] [stdout]   --> src/main.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn print_info3<T>(point: T) where T: Debug { // use '+' to have multiple traits
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_guessing` is never used
[INFO] [stdout]    --> src/main.rs:411:4
[INFO] [stdout]     |
[INFO] [stdout] 411 | fn number_guessing() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:526:5
[INFO] [stdout]     |
[INFO] [stdout] 525 | struct Person {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 526 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]    --> src/main.rs:544:8
[INFO] [stdout]     |
[INFO] [stdout] 544 | struct Company<'z> { // ' followed by any name
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lifetime` is never used
[INFO] [stdout]    --> src/main.rs:549:4
[INFO] [stdout]     |
[INFO] [stdout] 549 | fn lifetime() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_it` is never used
[INFO] [stdout]    --> src/main.rs:723:4
[INFO] [stdout]     |
[INFO] [stdout] 723 | fn print_it<T: Printable>(z: T) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:868:5
[INFO] [stdout]     |
[INFO] [stdout] 867 | struct Student {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] 868 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:882:5
[INFO] [stdout]     |
[INFO] [stdout] 881 | struct Course {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 882 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Sum`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Sum;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut data = &mut a; // slices
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let mut vec2 = vec![4, 5, 6];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |     let mut abc = "Hello World".to_string(); // both works
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:445:9
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut z: i32 = 6;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `company`
[INFO] [stdout]    --> src/main.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let company = Company { name: String::from("Tesla"), ceo: &boss };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s
[INFO] [stdout] warning: unused variable: `john`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let john = Person::new("John Doe"); // John Doe is &'static str
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_john`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stdout] warning: unused variable: `jane`
[INFO] [stdout]    --> src/main.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 |     let jane = Person::new(name/*.as_ref()*/); // this is tedious
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_jane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stdout] warning: unused variable: `ra1`
[INFO] [stdout]    --> src/main.rs:607:9
[INFO] [stdout]     |
[INFO] [stdout] 607 |     let ra1 = Creature::new("RA1");
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ra1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking HelloRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |     let mut b = Complex::new(1, 2);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: unused variable: `u2`
[INFO] [stdout]    --> src/main.rs:804:9
[INFO] [stdout]     |
[INFO] [stdout] 804 |     let u2 = u;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_u2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PointWithGenerics` is never constructed
[INFO] [stdout]   --> src/main.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct PointWithGenerics<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red`, `Green`, `RGBColor`, and `CMYK` are never constructed
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Color {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 55 |     Red,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Green,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 57 |     Blue,
[INFO] [stdout] 58 |     RGBColor(u8, u8, u8),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 59 |     CMYK {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_info3` is never used
[INFO] [stdout]   --> src/main.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn print_info3<T>(point: T) where T: Debug { // use '+' to have multiple traits
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_guessing` is never used
[INFO] [stdout]    --> src/main.rs:411:4
[INFO] [stdout]     |
[INFO] [stdout] 411 | fn number_guessing() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:526:5
[INFO] [stdout]     |
[INFO] [stdout] 525 | struct Person {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 526 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]    --> src/main.rs:544:8
[INFO] [stdout]     |
[INFO] [stdout] 544 | struct Company<'z> { // ' followed by any name
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lifetime` is never used
[INFO] [stdout]    --> src/main.rs:549:4
[INFO] [stdout]     |
[INFO] [stdout] 549 | fn lifetime() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_it` is never used
[INFO] [stdout]    --> src/main.rs:723:4
[INFO] [stdout]     |
[INFO] [stdout] 723 | fn print_it<T: Printable>(z: T) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:868:5
[INFO] [stdout]     |
[INFO] [stdout] 867 | struct Student {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] 868 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:882:5
[INFO] [stdout]     |
[INFO] [stdout] 881 | struct Course {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 882 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.84s
[INFO] [stderr] crater-edition-check: HelloRust v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking HelloRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::iter::Sum`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Sum;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut data = &mut a; // slices
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let mut vec2 = vec![4, 5, 6];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |     let mut abc = "Hello World".to_string(); // both works
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:445:9
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut z: i32 = 6;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `company`
[INFO] [stdout]    --> src/main.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let company = Company { name: String::from("Tesla"), ceo: &boss };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `john`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let john = Person::new("John Doe"); // John Doe is &'static str
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_john`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `jane`
[INFO] [stdout]    --> src/main.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 |     let jane = Person::new(name/*.as_ref()*/); // this is tedious
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_jane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ra1`
[INFO] [stdout]    --> src/main.rs:607:9
[INFO] [stdout]     |
[INFO] [stdout] 607 |     let ra1 = Creature::new("RA1");
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ra1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |     let mut b = Complex::new(1, 2);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u2`
[INFO] [stdout]    --> src/main.rs:804:9
[INFO] [stdout]     |
[INFO] [stdout] 804 |     let u2 = u;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_u2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Sum`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Sum;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PointWithGenerics` is never constructed
[INFO] [stdout]   --> src/main.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct PointWithGenerics<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red`, `Green`, `RGBColor`, and `CMYK` are never constructed
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Color {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 55 |     Red,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Green,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 57 |     Blue,
[INFO] [stdout] 58 |     RGBColor(u8, u8, u8),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 59 |     CMYK {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_info3` is never used
[INFO] [stdout]   --> src/main.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn print_info3<T>(point: T) where T: Debug { // use '+' to have multiple traits
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_guessing` is never used
[INFO] [stdout]    --> src/main.rs:411:4
[INFO] [stdout]     |
[INFO] [stdout] 411 | fn number_guessing() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:526:5
[INFO] [stdout]     |
[INFO] [stdout] 525 | struct Person {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 526 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]    --> src/main.rs:544:8
[INFO] [stdout]     |
[INFO] [stdout] 544 | struct Company<'z> { // ' followed by any name
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lifetime` is never used
[INFO] [stdout]    --> src/main.rs:549:4
[INFO] [stdout]     |
[INFO] [stdout] 549 | fn lifetime() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_it` is never used
[INFO] [stdout]    --> src/main.rs:723:4
[INFO] [stdout]     |
[INFO] [stdout] 723 | fn print_it<T: Printable>(z: T) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:868:5
[INFO] [stdout]     |
[INFO] [stdout] 867 | struct Student {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] 868 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:882:5
[INFO] [stdout]     |
[INFO] [stdout] 881 | struct Course {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 882 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut data = &mut a; // slices
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HelloRust` (bin "HelloRust" test) due to 1 previous error; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let mut vec2 = vec![4, 5, 6];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |     let mut abc = "Hello World".to_string(); // both works
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:445:9
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut z: i32 = 6;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `company`
[INFO] [stdout]    --> src/main.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let company = Company { name: String::from("Tesla"), ceo: &boss };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `john`
[INFO] [stdout]    --> src/main.rs:598:9
[INFO] [stdout]     |
[INFO] [stdout] 598 |     let john = Person::new("John Doe"); // John Doe is &'static str
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_john`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `jane`
[INFO] [stdout]    --> src/main.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 |     let jane = Person::new(name/*.as_ref()*/); // this is tedious
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_jane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ra1`
[INFO] [stdout]    --> src/main.rs:607:9
[INFO] [stdout]     |
[INFO] [stdout] 607 |     let ra1 = Creature::new("RA1");
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_ra1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:693:9
[INFO] [stdout]     |
[INFO] [stdout] 693 |     let mut b = Complex::new(1, 2);
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u2`
[INFO] [stdout]    --> src/main.rs:804:9
[INFO] [stdout]     |
[INFO] [stdout] 804 |     let u2 = u;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_u2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PointWithGenerics` is never constructed
[INFO] [stdout]   --> src/main.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct PointWithGenerics<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red`, `Green`, `RGBColor`, and `CMYK` are never constructed
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Color {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 55 |     Red,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Green,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 57 |     Blue,
[INFO] [stdout] 58 |     RGBColor(u8, u8, u8),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 59 |     CMYK {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_info3` is never used
[INFO] [stdout]   --> src/main.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn print_info3<T>(point: T) where T: Debug { // use '+' to have multiple traits
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_guessing` is never used
[INFO] [stdout]    --> src/main.rs:411:4
[INFO] [stdout]     |
[INFO] [stdout] 411 | fn number_guessing() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:526:5
[INFO] [stdout]     |
[INFO] [stdout] 525 | struct Person {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 526 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]    --> src/main.rs:544:8
[INFO] [stdout]     |
[INFO] [stdout] 544 | struct Company<'z> { // ' followed by any name
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lifetime` is never used
[INFO] [stdout]    --> src/main.rs:549:4
[INFO] [stdout]     |
[INFO] [stdout] 549 | fn lifetime() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_it` is never used
[INFO] [stdout]    --> src/main.rs:723:4
[INFO] [stdout]     |
[INFO] [stdout] 723 | fn print_it<T: Printable>(z: T) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:868:5
[INFO] [stdout]     |
[INFO] [stdout] 867 | struct Student {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] 868 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/main.rs:882:5
[INFO] [stdout]     |
[INFO] [stdout] 881 | struct Course {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] 882 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:951:39
[INFO] [stdout]     |
[INFO] [stdout] 951 |         println!("static mut Z = {}", ZM);
[INFO] [stdout]     |                                       ^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HelloRust` (bin "HelloRust") due to 1 previous error; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4", kill_on_drop: false }`
[INFO] [stdout] 3eb52b54d25cbae775eff6a9df10c60daa3158652084dac351eb929393760cb4
